#pragma once

#include "ILCommon.h"
#include "IntPoint.h"

class CTerrain;

class CHeightMap
{
	friend class CTerrain;

public:
	CHeightMap(int width, int height);
	~CHeightMap();
	float GetHeight( UINT x, UINT y );
private:
	IntPoint m_size;
	float m_MaxHeight;
	float* m_pHeightMap;
};